package Function;

import java.sql.SQLException;

import interfaces.DALException;
import dao_Impl.MySQLBookDAO;
import dao_Impl.MySQLFakturaDAO;
import dao_Impl.MySQLSearchDAO;
import dao_Impl.MySQLUserDAO;
import dto_objects.BookDTO;
import dto_objects.UserDTO;

public class FunctionADMIN extends FunctionLIBRARY {
	
	public FunctionADMIN(){
		super();
	}
	
	public void deleteUser(UserDTO User) throws DALException{
		SQLUser.deleteUser(User);
	}
	
	public void createLibrarian(UserDTO Lib) throws DALException{
		SQLUser.createUser(Lib);
	}
	
	public void updateLibrarian(UserDTO Lib) throws DALException{
		SQLUser.updateUser(Lib);
	}
}
